home *** CD-ROM | disk | FTP | other *** search
- ;
- ; A tiny little shell script to install the shell-update
- ;
- version Shell VERSION 45 >NIL:
- if warn
- echo "You MUST have BB2 installed on your system."
- skip Exit
- endif
- ;
- ;
- ExtractModule FROM "DEVS:AmigaOS ROM Update" Module 19 TO RAM:Shell-Seg
- spatch -oRAM:Shell-Seg.new -pShell.pch RAM:Shell-Seg
- copy RAM:Shell-Seg.new to L:Shell-Seg
- copy LoadModule to C:
-
- if $?EDITOR eq 1
- $EDITOR S:Startup-Sequence &
- else
- ed S:Startup-Sequence &
- endif
- more <<EndInstruction
- Instructions for editing the Startup-Sequence
-
- To complete the installation of the new shell, the startup-sequence
- must be modified using an editor. Please follow the instructions below
- closely.
-
- 1) Locate the "SetPatch" command within the startup-sequence, place the
- cursor on the "S" of "SetPatch" and press <RETURN>. This will insert a new
- blank line ON TOP of SetPatch. Move the cursor upwards into this blank
- line and insert the following command:
-
- LoadModule L:Shell-Seg NOREBOOT
-
- In case you are using LoadModule already, please add L:Shell-Seg as one of
- its arguments. You may also load additional modules here, i.e. the Os 3.9
- icon.library or the Os 3.9 workbench.library. Just give their full paths
- as arguments to the LoadModule command.
- *NOTE THAT IT IS IMPORTANT THAT LOADMODULE IS RUN BEFORE SETPATCH*.
- With these modifications, the command line could look like this:
-
- LoadModule L:Shell-Seg L:Ram-Handler LIBS:icon.library LIBS:workbench.library NOREBOOT
-
- (This is one line, no line feed intended)
- The advantage of "LoadModule" is that the ROM modules loaded by
- this command can be protected from getting overwritten by means of
- the "MuProtectModules" program of the same author (not included in this archive).
-
-
- 2) Locate the "SetPatch" command within the startup-sequence. Move the cursor
- behind "SetPatch", and add the command line option "SKIPROMMODULES shell"
- to the command. The setpatch command line should then read approximately as
- follows:
-
- SetPatch SKIPROMMODULES shell >NIL:
-
-
- If you already have to skip parts of the update, as for example the scsi.device,
- the line should rather look like this:
-
- SetPatch SKIPROMMODULES scsi.device,shell >NIL:
-
- 3) Save the changes of the startup-sequence back. For "Ed", press first <ESC>,
- then <X>, then <RETURN>.
-
-
- 4) To make the changes active, a reboot is *NOT* enough. You should turn
- off the machine, wait for half a minute, and reboot. This will flush the
- RAM resident parts of the ROM-Updates mechanism.
- EndInstruction
- ;
- ;
- ; we're done.
- Lab Exit:
-